<template>
  <div id="app">
    <router-view></router-view>
    <img src="./assets/logo.png">
    <mt-tabbar v-model="selected" :class="[ fixed ? 'is-fixed' : '']">
      <mt-tab-item id="tab1" href="#/HelloWorld">
        <img slot="icon" src="./assets/tab1.png">
                首页
      </mt-tab-item>
      <mt-tab-item id="tab2" href="#/fayun">
        <img slot="icon" src="./assets/tab2.png">
                发运
      </mt-tab-item>
      <mt-tab-item id="tab3">
        <img slot="icon" src="./assets/tab3.png">
                运单
      </mt-tab-item>
      <mt-tab-item id="tab4">
        <img slot="icon" src="./assets/tab4.png">
                我的
      </mt-tab-item>
    </mt-tabbar>
  </div>
</template>

<script>
export default {
  // name: 'App'
  data () {
    return {
      fixed: true,
      selected: 'tab1'
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
